//
//  JiaoYiPageHeadView.m
//  ChinaA
//
//  Created by Mxionlly on 2018/11/6.
//  Copyright © 2018 Evan. All rights reserved.
//

#import "JiaoYiPageHeadView.h"

@implementation JiaoYiPageHeadView

+ (JiaoYiPageHeadView *)getTopView
{
    JiaoYiPageHeadView *headView = [[[NSBundle mainBundle] loadNibNamed:@"JiaoYiPageHeadView" owner:nil options:nil] objectAtIndex:0];
    headView.frame = CGRectMake(0, 0, KScreenWidth, 200);
    headView.detailbutton.layer.masksToBounds = YES;
    headView.detailbutton.layer.borderWidth = 1.0f;
    headView.detailbutton.layer.borderColor = [UIColor clearColor].CGColor;
    headView.detailbutton.layer.cornerRadius = 11.f;
    return headView;
}


+ (JiaoYiPageHeadView *)getTopDetailView
{
    JiaoYiPageHeadView *headView = [[[NSBundle mainBundle] loadNibNamed:@"JiaoYiPageHeadView" owner:nil options:nil] objectAtIndex:1];
    headView.frame = CGRectMake(0, 0, KScreenWidth, 150);
    return headView;
}

@end
